home *** CD-ROM | disk | FTP | other *** search
/ The X-Philes (2nd Revision) / The X-Philes Number 1 (1995).iso / xphiles / hp48hor2 / flying.doc < prev    next >
Text File  |  1995-03-31  |  38KB  |  1,040 lines

  1.                              HP48SX 
  2.  
  3.                 FLIGHT PLANNING/TRACKING LIBRARY 
  4.  
  5.                        { 1786 FLIGHT LIB } 
  6.  
  7.                                and 
  8.  
  9.                           TIMER LIBRARY 
  10.  
  11.                        { 1785 TIMER LIB } 
  12.  
  13.                          by Steve Mauser 
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21. Copyright, 1991 
  22. Victoria Designs 
  23. 377 Nature Trail Lane 
  24. Murrysville, Pa 15668  
  25.  
  26.                         TABLE OF CONTENTS 
  27.  
  28.  
  29.  
  30.  I.  INTRODUCTION 
  31.  
  32. II.  DESCRIPTION 
  33.  
  34.      1.  Flight Activities 
  35.  
  36.           a.  Flight Status 
  37.           b.  Start/Ckpt Xing/Close 
  38.           c.  Enroute Calculations 
  39.  
  40.                  i.  TIMER 
  41.                 ii.  TAS/IAS/Alts 
  42.                iii.  Timed Groundspeed 
  43.                 iv.  Calc. Winds 
  44.                  v.  External Routines 
  45.  
  46.           d.  Reset Last CKPT Xing 
  47.           e.  CLOSE PLAN 
  48.  
  49.      2.  Calculate Flight Plan 
  50.  
  51.      3.  Enter/Edit Route Data 
  52.  
  53.           a.  Load Existing Route 
  54.           b.  Store Current Route 
  55.           c.  Extend/Add CKPTS 
  56.           d.  Edit CKPT(s) Data 
  57.           e.  Erase Current Data 
  58.  
  59.      4.  Enter/Edit Winds 
  60.  
  61.           a.  Add Data 
  62.           b.  Edit Data 
  63.           c.  Erase Data 
  64.  
  65.      5.  Select Plane 
  66.  
  67. III.  PROCEDURES 
  68.  
  69.  
  70. APPENDIX A 
  71.  
  72.      Downloading and Linking the Library 
  73.   
  74.  
  75. APPENDIX B 
  76.  
  77.      Programming Airplane Characteristics 
  78.  
  79. APPENDIX C 
  80.  
  81.      Warranty 
  82.  
  83. APPENDIX D 
  84.  
  85.      Registration 
  86.   
  87.                              HP48SX 
  88.  
  89.                 FLIGHT PLANNING/TRACKING LIBRARY 
  90.                        { 1786 FLIGHT LIB } 
  91.  
  92.                                and 
  93.  
  94.                           TIMER LIBRARY 
  95.                        { 1785 TIMER LIB } 
  96.  
  97. I.  INTRODUCTION 
  98.  
  99. The Flight Planning/Tracking Library provides a menu-driven library 
  100. which facilitates flight planning calculations - 
  101.  
  102.      - weight/balance 
  103.      - winds aloft 
  104.      - route planning 
  105.      - flight plan times and headings 
  106.      - fuel requirements 
  107.  
  108. and flight tracking and in-flight calculations - 
  109.  
  110.      - audible alarms for expected checkpoint crossings 
  111.      - TAS/IAS conversions 
  112.      - pressure and density altitudes 
  113.      - groundspeed determination 
  114.      - winds aloft 
  115.  
  116. as well as providing an interconnection to the TIMER LIB, a large- 
  117. digit timer function for holds and approaches. 
  118.  
  119. The library takes over the HP48SX while executing the various 
  120. functions, but permits normal operation of the HP48SX upon exiting 
  121. the library menu system while remembering current data upon re- 
  122. entry to the library.  Alarms will break-in on operations outside 
  123. of the library functions, but will not break in while in the flight 
  124. library execution mode. 
  125.  
  126. The flight library requires 29+ kb of memory and requires that data 
  127. for the current trip be stored in user memory.   The timer library 
  128. requires 5 kb of memory.  These sizes dictate that the flight 
  129. library be stored in an external memory card, while the data for 
  130. the flight library and the TIMER LIB can be stored in the 
  131. calculator memory. 
  132.  
  133. The flight library menu contains only one executable - the 
  134. PLANr.dvr function.  The timer library menu provides only the TIMER 
  135. executable.  Short programs in the HOME directory can be written to 
  136.   
  137. permit rapid access to the planner/tracker and the time.  However, 
  138. the timer can also be accessed through the flight library's menu 
  139. system. 
  140.  
  141. The remainder of this writeup provides a description of the 
  142. operation for the flight planning/tracking library, menu by menu, 
  143. instructions for downloading and storing the library, and a 
  144. registration form for receiving future versions of the library. 
  145.  
  146. II.  DESCRIPTION 
  147. This following is a description of the use of the flight library 
  148. only.  A description of the operation of the timer library is 
  149. included under the "Enroute Activities" menu of the flight library. 
  150.   
  151. The flight library provides numerous planning, tracking, and in- 
  152. flight computations for basic small airplane flying.  While most 
  153. calculations are as precise as the data provided, the library only 
  154. provides accurate flying information for altitudes up to 12,000 ft. 
  155. MSL.  For instance, in the IAS/TAS and pressure and density 
  156. altitude calculations, conversion approximations are only valid to 
  157. this 12,000 ft. MSL level. 
  158.  
  159. While the flight library is stored in ROM memory, it does require 
  160. the use of user RAM for data storage and manipulation.  
  161. Specifically, the library REQUIRES that a directory named AIR be 
  162. created, and that this directory contain two subdirectories, named 
  163. RTE.FILES and PLANES.  Permanent storage of flight plans and 
  164. airplane data are located in these two subdirectories, while 
  165. current flight plan data are stored in the AIR directory. 
  166.  
  167. After loading the library (see Appendix A), the library can be 
  168. executed from any directory/subdirectory, will move to and execute 
  169. in the AIR directory, and should then return to the 
  170. directory/subdirectory from which it was called. 
  171.  
  172. Except for the airplane-specific data files stored in the PLANES 
  173. subdirectory of AIR, all data files are generated and stored from 
  174. within the library, so little original programing experience is 
  175. necessary to use the library.  Sample copies of one airplane's data 
  176. files which would be stored in the AIR/PLANES subdirectory is 
  177. included with the library files, and are listed in Appendix B. 
  178.  
  179. The following description of the library functions follows the 
  180. menus which are the cruising elements in the library.  To move 
  181. around the menus, the arrow keys are used to move the cursor to the 
  182. selected activity, and the ENTER key is used to select the 
  183. activity.  The EXIT key in the menu is the only way to back up into 
  184. the previous menu or exit the program. 
  185.   
  186. The discussions in each of the following sections correspond to 
  187. menu items and are discussed in the order in which they are 
  188. presented in the menu screens. 
  189.  
  190. The SELECT ACTIVITY menu is the introductory screen and provides 
  191. entry into all the other functions provided by the library.  These 
  192. other functions are as follows. 
  193.  
  194.      1.  Flight Activities 
  195.  
  196.      The flight activities item will provide access to 
  197.      functions normally associated with in-flight procedures.  
  198.      These include the current flight status, confirmation of 
  199.      checkpoint crossing, flight calculations, an Oops 
  200.      function to reset the last checkpoint crossed, and a 
  201.      CLOSE PLAN function which discontinues the flight plan 
  202.      tracking function. 
  203.  
  204.           a.  Flight Status 
  205.  
  206.           The flight status selection presents a screen 
  207.           which gives the current status of the flight.  
  208.           This includes the previous checkpoint name and 
  209.           crossing time, the current checkpoint name, 
  210.           expected minutes to crossing, the estimated 
  211.           crossing time (in ZULU), the estimated 
  212.           nautical miles to crossing, the magnetic 
  213.           course to the checkpoint, and the estimated 
  214.           heading to fly to the checkpoint.  This 
  215.           information is also provided for the 
  216.           checkpoint immediately beyond the upcoming 
  217.           checkpoint. 
  218.  
  219.           On pressing the ENTER key, the flight status 
  220.           screen will display the total time in flight 
  221.           (in hours), the estimated time remaining (in 
  222.           hours), and the estimated fuel remaining in 
  223.           the tanks (in hours). 
  224.  
  225.           Pressing ENTER again, will return to the 
  226.           FLIGHT ACTIVITIES menu. 
  227.  
  228.           b.  Start/Ckpt Xing/Close 
  229.  
  230.           Selecting this menu item will start the 
  231.           tracking function, indicate that the upcoming 
  232.           checkpoint has been crossed, or will indicate 
  233.           the crossing of the final checkpoint 
  234.           (destination) and close the tracking function. 
  235.   
  236.           The user is asked to confirm checkpoint 
  237.           crossing, and then the groundspeed along the 
  238.           direct checkpoint course is calculated.  
  239.           Following this, if the actual heading flown is 
  240.           entered at the request, the actual winds 
  241.           encountered will be calculated and summarized. 
  242.  
  243.           [NOTE:  The user may call up this function and 
  244.           delay pressing the ENTER key until actual 
  245.           checkpoint crossing is made.  The time of 
  246.           crossing is taken as the instant that the 
  247.           ENTER key is pressed, with only a "Y" (default 
  248.           value) on the entry line.] 
  249.           This routine returns to the Flight Activities 
  250.           menu.  To check that the function performed 
  251.           properly, select the Flight Status function 
  252.           from the same menu, which should show that the 
  253.           checkpoints have been incremented. 
  254.  
  255.           c.  Enroute Calculations 
  256.  
  257.           Selecting this item will call another screen 
  258.           from which to select calculation functions 
  259.           which are generally used during flight.  The 
  260.           selections are as follows. 
  261.  
  262.                i.  TIMER 
  263.  
  264.                The timer function is a countdown 
  265.                timer which, when finished counting 
  266.                down, will revert to counting up 
  267.                until it is stopped.  Any time for 
  268.                countdown can be entered, up to 9 
  269.                minutes and 59 seconds. 
  270.  
  271.                If the timer has been used at any 
  272.                time previously, the timer will 
  273.                start with the last countdown time.  
  274.                The timer is started by pressing the 
  275.                GO menu key, and is stopped by 
  276.                pressing the STOP menu key. 
  277.  
  278.                If the timer is stopped (either when 
  279.                it is started initially, or after a 
  280.                countdown sequence is complete) and 
  281.                the STOP key is pressed, the timer 
  282.                will ask for the initial countdown 
  283.                time to be entered.  The new time 
  284.                can be entered at this point, or, if 
  285.                ENTER is pressed with "0" for the 
  286.                input time, the system will reset to  
  287.                the Enroute Calcs menu, exiting the 
  288.                timer function.  The last countdown 
  289.                time is saved. 
  290.  
  291.                ii.  TAS/IAS/Alts 
  292.  
  293.                Selecting this menu item will result 
  294.                in a request for the current 
  295.                indicated altitude and the altimeter 
  296.                setting.  Next, a request is made 
  297.                for one airspeed value - either 
  298.                theIndicated Air Speed or the True 
  299.                Air Speed - and for the Outside Air 
  300.                Temperature (degrees C).  From this 
  301.                information, a screen is provided 
  302.                which summarizes the estimated 
  303.                altitudes (indicated, pressure, and 
  304.                density), and the indicated airspeed 
  305.                and true airspeed. 
  306.  
  307.                (These estimated values are based on 
  308.                a three-point exponential fit of the 
  309.                standard curves of temperature, 
  310.                pressure, and density, and a 2% per 
  311.                1,000 ft. increase in TAS over IAS, 
  312.                corrected for density altitude) 
  313.  
  314.                iii.  Timed Groundspeed 
  315.  
  316.                This selection enables timer 
  317.                functions which are used to compute 
  318.                the actual groundspeed, and, if the 
  319.                actual heading flown is given, will 
  320.                calculate the actual winds aloft 
  321.                being experienced. 
  322.  
  323.                The first time this option is 
  324.                selected, a request for the distance 
  325.                to be timed is made.  Upon entering 
  326.                the distance, AND upon pressing 
  327.                ENTER, the timer will commence. 
  328.  
  329.                Upon entering this menu option the 
  330.                second time, pressing ENTER will 
  331.                stop the timing run, and will result 
  332.                in the presentation of the 
  333.                calculated groundspeed, and then a 
  334.                request for course (default is the 
  335.                course for the leg being flown from 
  336.                the flight plan) and heading flown.  
  337.                Providing this latter data will 
  338.                result in a calculation of the winds 
  339.                aloft experienced.    
  340.  
  341.                iv.  Calc. Winds 
  342.  
  343.                This selection provides a summary of 
  344.                the LAST actual winds aloft 
  345.                calculation.  Wind aloft 
  346.                calculations can be those performed 
  347.                at the last checkpoint crossing, or 
  348.                can be a result of requesting the 
  349.                Timed Groundspeed option, also 
  350.                provided in this menu. 
  351.  
  352.                The summary screen in this selection 
  353.                gives the data for the leg which was 
  354.                timed, the calculated groundspeed 
  355.                and the heading flown (if entered) 
  356.                for this leg, the calculated winds 
  357.                experienced, and the winds which 
  358.                were forcast and interpolated for 
  359.                this leg and altitude. 
  360.  
  361.                v.  External Routines 
  362.  
  363.                The library permits the user to 
  364.                execute additional programs which 
  365.                are written and stored in the { HOME 
  366.                AIR } directory.  When the Enroute 
  367.                Calculations option is invoked, the 
  368.                library will form a temporary menu 
  369.                of all the program variables in the 
  370.                { HOME AIR } directory.  To execute 
  371.                a selected program, simply press the 
  372.                appropriate menu key.  After 
  373.                execution of the external program, 
  374.                the execution will return to the 
  375.                flight library. 
  376.  
  377.           d.  Reset Last CKPT Xing 
  378.  
  379.           In the excitement of flight, the checkpoint 
  380.           crossing for the next checkpoint may be 
  381.           entered before the actual crossing time.  To 
  382.           reset the last checkpoint which is now 
  383.           incorrectly noted as being crossed so it again 
  384.           becomes the next checkpoint to be crossed, 
  385.           select this option.  No screen will be  
  386.           provided, but the result of this operation can 
  387.           be displayed by requesting the Flight Status 
  388.           option in this same menu. 
  389.  
  390.           e.  CLOSE PLAN 
  391.  
  392.           If at any time you wish to discontinue 
  393.           tracking of the flight plan, this option will 
  394.           shut down the tracking function.  While 
  395.           selecting the Start/Ckpt Xing/Close option in 
  396.           this menu will close the plan upon its 
  397.           activation over the last checkpoint 
  398.           (destination), this selection will do the 
  399.           same, except it will conclude 
  400.           trackingregardless of the current location 
  401.           within the plan. 
  402.  
  403.           This has also been considered to be a shortcut 
  404.           "panic" button. 
  405.  
  406.      2.  Calculate Flight Plan 
  407.  
  408.      Activating this option, providing the checkpoint route 
  409.      data has been input (see Enter/Edit Route Data below) and 
  410.      winds aloft have been entered for each location cited in 
  411.      the checkpoint data, will calculate the flight plan. 
  412.  
  413.      Selecting this option will step through each location, 
  414.      giving the calculated groundspeeds for the winds aloft 
  415.      data for 3, 6, 9, and 12,000 feet, and interpolating 
  416.      inbetween (i.e. 4,500, 7,500, and 10,500 feet), and will 
  417.      request the altitude to be flown TO this checkpoint.  
  418.      Following the altitude request for the first checkpoint 
  419.      and for the last checkpoint, the program asks for a time 
  420.      adder which it will add to the calculated time for the 
  421.      leg.  This tinme adder should be used to account for 
  422.      climbing time, and/or vectoring time. 
  423.       
  424.      Upon calculating all of the data for the plan, a summary 
  425.      is provided for the cummulative nautical miles to be 
  426.      flown (between checkpoints), the total time expected to 
  427.      be required for the flight, and the estimated amount of 
  428.      fuel required for the trip. 
  429.  
  430.      3.  Enter/Edit Route Data 
  431.  
  432.      This function provides for entering, and storing for 
  433.      future use, the route data for the flight.  A second menu 
  434.      screen is brought up when this option is selected to 
  435.      provide the various options.  Route files are stored in  
  436.      the AIR directory, RTE.FILES subdirectory.  A description 
  437.      of each of the options on the secondary menu is as 
  438.      follows. 
  439.  
  440.           a.  Load Existing Route 
  441.  
  442.           This selection will drop into the RTE.FILES 
  443.           subdirectory and prompts for the name of the 
  444.           route file to load.  Press the appropriate 
  445.           menu key to load the desired route filename. 
  446.  
  447.           b.  Store Current Route 
  448.  
  449.           After inputing a route from within the flight 
  450.           planner, the route information can be stored 
  451.           in the RTE.FILES subdirectory using 
  452.           thisselection.  This selection drops into the 
  453.           RTE.FILES subdirectory and prompts for a route 
  454.           file name (suggest a format similar to AGC.CAK 
  455.           for Allegheny Airport to Clarksburg).  Upon 
  456.           pressing enter after providing a name, you 
  457.           will be returned to the EDIT/ENTER Route Data 
  458.           menu. 
  459.  
  460.           c.  Extend/Add CKPTS 
  461.  
  462.           This selection provides for starting a new 
  463.           route file or for adding extra checkpoints to 
  464.           an existing route file.  The route file must 
  465.           be the current route file (i.e. a new route 
  466.           being entered, or a route loaded from the Load 
  467.           Existing Route feature).The data requested in 
  468.           this option is the LOC identifier (three 
  469.           alpha-newmerics), the winds aloft location 
  470.           (three alpha-numerics), and the checkpoint 
  471.           data (mag. variation, distance TO, and heading 
  472.           TO). 
  473.  
  474.           Completing the data for one checkpoint will 
  475.           generate a request for the next, until ENTER 
  476.           is pressed when asked for the next checkpoint 
  477.           LOC identifier. 
  478.  
  479.           d.  Edit CKPT(s) Data 
  480.  
  481.           This menu item permits modifying the route. 
  482.           First, the checkpoints in the route are 
  483.           listed, and the user is asked if any 
  484.           checkpoints are to be deleted.  To delete the 
  485.           checkpoint, simply enter the index number in 
  486.           the table for the appropriate LOC to be 
  487.           deleted.  
  488.           Next, the user is prompted for changing the 
  489.           checkpoint order.  To change the order, enter 
  490.           the checkpoint index to move and then the 
  491.           desired index for that checkpoint. 
  492.  
  493.           Finally, the user is given the option to 
  494.           Review/Edit the data for each checkpoint.  In 
  495.           this function, the data for each checkpoint is 
  496.           shown and editing is permitted. 
  497.  
  498.           e.  Erase Current Data 
  499.  
  500.           Use this option to completely clear all of the 
  501.           checkpoint data (prior to entering a new set 
  502.           of route data). 
  503.  
  504.      4.  Enter/Edit Winds 
  505.  
  506.      This series of functions provides for entering the 
  507.      current winds aloft data.  The secondary menu consists of 
  508.      the following operations. 
  509.  
  510.           a.  Add Data 
  511.  
  512.           Use this option to enter new data or to extend 
  513.           the existing winds aloft data.  Since the 
  514.           locations for winds aloft are not connected to 
  515.           each other, any location for winds aloft can 
  516.           be entered.  However, only those locations 
  517.           which match the locations specified in the 
  518.           checkpoint data are actually used. 
  519.  
  520.           Winds aloft are entered as they would be 
  521.           reported in written reports, as a four-digit 
  522.           number.  The first two digits are the "from" 
  523.           bearing of the winds, and the second two 
  524.           digits are the speed.  The program recognizes 
  525.           "99" entries for light and variable winds, 
  526.           but, since we are dealing with light aircraft, 
  527.           it is not programed to recognize coding for 
  528.           winds in excess of 99 mph. 
  529.  
  530.           Winds can be entered for from 3,000 to 12,000 
  531.           feet.  Entries must be made to bracket the 
  532.           altitude to be flown (i.e. the altitude of 
  533.           flight must be equal to one of the winds aloft 
  534.           altitudes or lie between two winds aloft 
  535.           altitude entries).  If the flight altitude  
  536.           lies outside of the given wind altitudes, the 
  537.           flight calculation mode will later use zero 
  538.           winds aloft. 
  539.  
  540.           b.  Edit Data 
  541.  
  542.           This function provides for deleting an 
  543.           individual location's winds aloft data, or for 
  544.           editing individual locations' data. 
  545.  
  546.           To delete an individual location's data, 
  547.           simply enter the location's index number from 
  548.           the displayed list of winds aloft locations. 
  549.  
  550.           In editing the data, each location's data is 
  551.           presented individually and the user is 
  552.           permited to over write the existing data.  The 
  553.           data is presented in vector notation, using a 
  554.           TRUE from bearing.  Because of the vector 
  555.           notation, bearings from 180 degrees to 359 
  556.           degrees will be shown as a negative value. 
  557.  
  558.           c.  Erase Data 
  559.  
  560.           This selection provides for completely erasing  
  561.           the current winds aloft data prior to 
  562.           beginning entry of new data for the immediate 
  563.           flight. 
  564.  
  565.      5.  Select Plane 
  566.  
  567.      Selecting this option drops the library into PLANES 
  568.      subdirectory and permits the user to use the HP48SX menu 
  569.      keys to enter the airplane tail number.  The tail number 
  570.      represents a routine which then loads the weight and 
  571.      balance calculation information for the airplane, 
  572.      theweight and balance envelope for plotting the 
  573.      calculated weight and balance within the envelope, and 
  574.      the fuel burn rate for the airplane. 
  575.  
  576.      No provision has been made for entering the unloaded 
  577.      airplane characteristics from within the library.  
  578.      Details on setting up the routines for each airplane are 
  579.      provided in Appendix B, as well as samples of the 
  580.      routines which are provided with the library files. 
  581.  
  582. III.  PROCEDURES 
  583.  
  584. The procedures for using the library are generally in reverse order 
  585. from the initial menu screen.  The most important functions, those 
  586. performed during flight, are at the tops of the menus, while the 
  587. more casual planning functions are at the bottom of the menus.   
  588. This permits a "no-look" procedure for calling the library, 
  589. pressing ENTER twice, and immediately toing to the flight status 
  590. screen (probably the most-used function during flight). 
  591.  
  592. To ready the system for a flight, the following order of procedures 
  593. is recommended. 
  594.  
  595.      1)  Enter the library 
  596.  
  597.      2)  Select an airplane 
  598.  
  599.      3)  Select the route menu and load or enter the route 
  600.           (also store the route after entry, if desired) 
  601.  
  602.      4)  Enter the winds aloft data for the locations   
  603.      referenced in the route 
  604.  
  605.      5)  Calculate the flight plan 
  606.  
  607.      6)  Check the flight status to verify that things are as 
  608.           expected 
  609.  
  610.      7)  Set the cursor on the Start/Ckpt Xing/Close option of 
  611.           the Flight Activities menu - DO NOT press ENTER 
  612.  
  613.      8)  Press ENTER just prior to the takeoff roll. 
  614.  
  615. The tracker is now in progress and an alarm will sound 
  616. approximately two minutes prior to each checkpoint's crossing.  
  617. When the alarm sounds, either confirm crossing by pressing ENTER 
  618. with the "Y" on the entry line, or press N (STO) and press ENTER.  
  619. If you press "Y", the program will begin prompts for groundspeed 
  620. and winds aloft calculation.  If you do not press "Y", then the 
  621. program will go back to sleep for one minute and will resound the 
  622. alarm.  This procedure continues until you confirm checkpoint 
  623. crossing. 
  624.  
  625.  
  626.   
  627.  
  628.  
  629.  
  630.  
  631.  
  632.  
  633.  
  634.  
  635.  
  636.  
  637.  
  638.  
  639.  
  640.  
  641.  
  642.  
  643.  
  644.  
  645.  
  646.  
  647.  
  648.  
  649.  
  650.                            APPENDIX A 
  651.  
  652.                DOWNLOADING AND LINKING THE LIBRARY 
  653.  
  654.   
  655.                            APPENDIX A 
  656.  
  657. After downloading the flight and timer library files from the 
  658. bulletin board, or from a file on a disc for your PC, download one 
  659. of the library files to the HP48SX.  To do this, go to the HOME 
  660. directory and set up for a BINARY file transfer (in the SETUP sub- 
  661. menu of the I/O menu).  Following the transfer, and depending on 
  662. which file has been transfered, there will be a file in the current 
  663. directory named FLYING or TIMER. 
  664.  
  665. Store this file in a port.  For example, If you have one 32 kb card, the 
  666. flight library should be stored in the memory card port, and the timer 
  667. in port 0. 
  668.  
  669. By pressing the FLIGHT menu key, a new menu will appear which reads 
  670. "PLANr.dvr".  The "r.dvr" does not appear in the menu, but 
  671. PLANR.DVR is the complete name of this flight planner entry point.  
  672. From this point, any of the planner/tracker functions can be 
  673. accessed. 
  674.  
  675. To store the timer library in the calculator memory, repeat the 
  676. above procedure using port 0 (i.e. :0:Y - where Y is any number).  
  677.  
  678. If you have a memory card which is larger than 32 kb, the timer 
  679. library can also be stored in the memory card.  To do this, follow 
  680. the same instructions as for storing the flight library, above. 
  681.  
  682. Use of the library requires making a directory and two 
  683. subdirectories.  The directory must be named AIR.  To do this, in 
  684. the HOME directory (blue-shift ' ), enter the name AIR ( alpha, 
  685. alpha, AIR, ENTER), enter the memory mode (orange-shift VAR) and 
  686. select CRDIR.  Upon pressing the VAR key, you should now see the 
  687. AIR directory in the variable list.  To make the subdirectories, 
  688. press the AIR menu key, and create a directory named PLANES just as 
  689. in creating the AIR directory.  Follow this by also creating the 
  690. subdirectory RTE.FILES under the AIR directory. 
  691.  
  692. To permit more rapid access to the library, a program can be placed 
  693. in the HOME directory.  The program consists of simply: 
  694.  
  695.                << 1786 MENU PLANR.DVR KILL >> 
  696.   
  697. [Note: The program above is on the disk as 'FLY'.  -jkh-] 
  698.  
  699. The KILL is important to clear and return to the stack display. 
  700. Storing this program in the HOME directory and executing it will 
  701. immediately call up the first menu in the library. 
  702.  
  703. Exiting the library will return to the directory from which the 
  704. library was initiated. 
  705.   
  706.  
  707.  
  708.  
  709.  
  710.  
  711.  
  712.  
  713.  
  714.  
  715.  
  716.  
  717.  
  718.  
  719.  
  720.  
  721.  
  722.  
  723.  
  724.  
  725.  
  726.  
  727.  
  728.  
  729.                            APPENDIX B 
  730.  
  731.               PROGRAMMING AIRPLANE CHARACTERISTICS 
  732.  
  733.   
  734.                            APPENDIX B 
  735.  
  736. Entering individual airplane data requires a small amount of 
  737. programming. 
  738.  
  739. For each make/model of airplane, two routines are required - a 
  740. routine which performs the calculations for the weight and balance 
  741. and a routine which plots the weight and balance envelope and plots 
  742. the actual weight and balance on this envelope. 
  743.  
  744. For each individual airplane tail number, a single routine is 
  745. needed to place the default unloaded airplane characteristics into 
  746. the weight and balance calculation routines, and to call the 
  747. appropriate routines for its make and model. 
  748.  
  749. These three routines are all placed in the PLANES subdirectory of 
  750. the AIR directory.  After all the airplanes are entered, use the 
  751. MEMORY (orange-shift VAR) ORDER functions to place all of tail 
  752. number routines at the front of the menu list.  This makes it more 
  753. convenient to load the routine from the library's Select Plane menu 
  754. item.  
  755.  
  756. Each of these routines are discussed in the following sections. 
  757.  
  758. 1.  Plotting Routine 
  759.  
  760. This routine requires the most programming patience.  The routine 
  761. should be named to start with the letter "P" and further named to 
  762. correspond with a type of airplane (i.e. P152, P172, PPIPARCH, 
  763. etc.) since this routine can be used for any airplane tail number 
  764. which corresponds to this make/model of airplane. 
  765.  
  766. The purpose of the routine is to draw the weight/balance envelope 
  767. for the airplane.  The procedure used is to draw lines between 
  768. coordinate points using the HP48SX's graph LINE function.  All 
  769. coordinates are in a (X,Y) format, where X is usually in thousands 
  770. of in-lbs and Y is the weight in lbs. 
  771.  
  772. The listing below is for the PPIPARCH routine which describes the 
  773. weight/balance envelope for the Piper Archer: 
  774.  
  775. \<< ERASE { 
  776. (81.0000000004,1200) 
  777. (94.0000000004,2600) 
  778. X 0 { 
  779. (81.0000000004,1200) 
  780. "C.G.(aft.datum)" 
  781. "WT" } FUNCTION Y } 
  782. 'PPAR' STO DRAX 
  783. LABEL 
  784. (81.9999999998,1200)  
  785. (92.9999999989,1200) 
  786. LINE 
  787. (92.9999999989,1200) 
  788. (92.9999999999,2550) 
  789. LINE 
  790. (92.9999999999,2550) 
  791. (88.5000000017,2550) 
  792. LINE 
  793. (88.5000000017,2550) 
  794. (81.9999999984,2050) 
  795. LINE 
  796. (81.9999999984,2050) 
  797. (81.9999999998,1200) 
  798. LINE MOMT WGHT / 
  799. 1000 * .1 - WGHT 10 
  800. - R\->C MOMT WGHT / 
  801. 1000 * .1 + WGHT 10 
  802. + R\->C BOX { # 0h 
  803. # 0h } PVIEW 
  804. \>> 
  805.  
  806. In the above listing, the first two coordinates in the first list 
  807. ( {} ) are the lower left corner of the plot area and the upper 
  808. right corner of the screen (resulting in a screen a little larger 
  809. than the weight/balance envelope).  The next coordinate in this 
  810. same list is the location on the screen where the axes should cross 
  811. each other (usually, also the lower left-hand corner of the 
  812. screen).  The other elements in this first list provide the axes 
  813. labels and the type of function to be plotted.  No other changes 
  814. should be necessary for this list. 
  815.  
  816. The next series of statements simply draw the outline of the 
  817. envelope.  This can consist of as many lines and breakpoints in the 
  818. envelope as you feel are necessary to model it.  Each line is 
  819. defined by the coordinate of the starting point (usually the end of 
  820. the previous line) and the coordinate of end point, followed by 
  821. invoking the HP48SX LINE function. 
  822.  
  823. 2.  Weight/Balance Calculation Routine 
  824.  
  825. This routine uses the total front passengers' weight (fpwt), the 
  826. rear passengers' weight (rpwt), the first baggage compartment 
  827. weight (b1wt), the second baggage compartment weight (b2wt), and 
  828. the amount of fuel on board (gal), to calculate the total weight 
  829. (WGHT) and the total moment (MOMT) in the ramp/takeoff 
  830. configuration.  This routine applies to a make and model of 
  831. aircraft and not a specific tail number, so name it accordingly.  
  832. A listing of the routine for the Piper Archer follows. 
  833.   
  834. \<< WGHT fpwt + rpwt 
  835. + b1wt + b2wt + gal 
  836. 6 * + 'WGHT' STO 
  837. MOMT fpwt 32.5 401 
  838. / * + rpwt 38 325 / 
  839. * + gal 6 * 29 300 
  840. / * + b1wt 27.5 199 
  841. / * + b2wt 100 1 / 
  842. * + 'MOMT' STO { 
  843. b1wt b2wt rpwt fpwt 
  844. } PURGE 
  845. \>> 
  846.  
  847. The only entries which need be changed to represent a different 
  848. airplane are the factors which multipy each element of weight to 
  849. obtain the corresponding moment for each compartment.  In the above 
  850. routine, rather than calculate and insert each multiplier (the 
  851. slope of each line for each compartment), the weight/balance curves 
  852. were consulted and an arbitrary point at the extreme end of one 
  853. compartment's line was selected.  The value of the selected moment 
  854. was entered, followed by the weight corresponding to this moment, 
  855. and the two divided to obtain the moment per pound in each 
  856. compartment.  This conversion factor is then multiplied by the 
  857. weight in that compartment (fpwt, rpwt, b1wt, b2wt - and recall the 
  858. RPN notation used in the HP48SX calculations). 
  859.  
  860. 3.  Individual Airplane Tail Number Driver Routine 
  861.  
  862. The final routine which defines an airplane's characteristics is 
  863. particular to the airplane equipment on board, and therefore, 
  864. should be titled with the airplane tail number. 
  865.  
  866. The routine first places on the stack the names of the routines 
  867. which plot the weight/balance envelope and which calculate the 
  868. weight/balance for this airplane's make and model (PPIPARCH and 
  869. PIPARCH in the examples here).  Then, a list which is later used in 
  870. an INPUT statement is generated.  The list contains default values 
  871. which can be edited during the weight/balance activity in the 
  872. Select Plane activity in the library. 
  873.  
  874. Default inputs are specified for the gallons/hour burn rate, the 
  875. TAS, the base weight, and the base moment of unloaded airplane. 
  876.  
  877. The following is a listing of the routine N26H for airplane tail 
  878. number N8226H. 
  879.  
  880. \<< 'PPIPARCH' 
  881. 'PIPARCH' { 
  882. ":Gal Per Hr:10.0 
  883.   
  884. :TAS:125 
  885. :Base Wt:1601 
  886. :Base Mom:140.806" 
  887. { -1 0 } V } 
  888. \>> 
  889.   
  890.  
  891.  
  892.  
  893.  
  894.  
  895.  
  896.  
  897.  
  898.  
  899.  
  900.  
  901.  
  902.  
  903.  
  904.  
  905.  
  906.  
  907.  
  908.  
  909.  
  910.  
  911.  
  912.                            APPENDIX C 
  913.  
  914.                             Warranty 
  915.   
  916.                            APPENDIX C 
  917.  
  918. Absolutely no warranty, expressed or implied, applies to a user who 
  919. is not registered in writting. 
  920.  
  921. For a user who is registered, the warranty excludes any liability 
  922. whatsoever from the use of this software.  Accurate calculations 
  923. for the flight of airplanes are solely the responsibility of the 
  924. pilot.  This software is intended to be an aid to those 
  925. calculations, but the accuracy of the calculations is not 
  926. guaranteed.  Use of this computational aid is not intended to 
  927. replace required competence and cross-checking on the part of the 
  928. pilot. 
  929.  
  930. The warranty on the software provides for either correcting a 
  931. software error or providing instructions for a work-around.  
  932. Program updates or improvements are not guaranteed nor implied.   
  933.  
  934. Should future updates or modifications to this software be made 
  935. available, they are not guaranteed to be available in a size which 
  936. will fit in a memory size of 32 kb or less (i.e. if you are going 
  937. to purchase a memory card for the HP48SX, a card larger than 32 kb 
  938. is recommended). 
  939.  
  940.   
  941.  
  942.  
  943.  
  944.  
  945.  
  946.  
  947.  
  948.  
  949.  
  950.  
  951.  
  952.  
  953.  
  954.  
  955.  
  956.  
  957.  
  958.  
  959.  
  960.  
  961.  
  962.  
  963.  
  964.                            APPENDIX D 
  965.  
  966.                         Registration Form 
  967.  
  968.   
  969.                            APPENDIX D 
  970.  
  971. The registration fee for this program is $50.  Payment of this fee 
  972. entitles the registered user to communications regarding the use 
  973. and application of the program and handy tips received from other 
  974. users.  Additionally, should updates become available, the 
  975. registered user will be notified of the availability of the 
  976. updates. 
  977.  
  978. Upon receipt of the registration fee, the user will be provided 
  979. with a description of the data files generated and used by the 
  980. library.  Due to the target of making this library available in a 
  981. size which would fit onto a 32 kb memory card, other optional 
  982. programs which would be handy to have, were not included.  Such as 
  983. a program to automatically generate a full route plan for a return 
  984. trip from the route plan entered to get to the original 
  985. destination.  This is a simple program which can be written by 
  986. knowing the format and definitions of the various data files used 
  987. by the library.  Also knowing the the data formats, a program can 
  988. be generated to summarize the entire trip, a facility which is not 
  989. presently available in the library.  Or, after calculating actual 
  990. winds aloft experienced during the flight, a program could be 
  991. written to update the remaining flight estimates based on the most 
  992. recently-calculated winds. 
  993.  
  994. The data files used by the library have been packed and coded for 
  995. memory savings and their use, therefore, are not straight forward.  
  996. An explanation of each of the files, data constants, and other 
  997. tidbits will be sent to each registered user. 
  998.  
  999. Use of the registration form below entitles the user to the use and 
  1000. to remain informed on the use and improvements to the library.  
  1001. Registration does not apply to anyone other than the registered 
  1002. individual. 
  1003.  
  1004. Club registrations are available, please contact the home office 
  1005. for information. 
  1006.   
  1007.          USER REGISTRATION FORM FOR FLIGHT LIB { 1786 } 
  1008.  
  1009. NAME _____________________________________________________________ 
  1010.  
  1011. ADDRESS __________________________________________________________ 
  1012.  
  1013.         __________________________________________________________ 
  1014.  
  1015. CITY ________________________ STATE ______________ ZIP ___________ 
  1016.  
  1017. For making available future updates, where did you obtain this copy 
  1018. of the library (BBS, copied from a friend, etc.)  
  1019.  
  1020. __________________________________________________________________ 
  1021.  
  1022. __________________________________________________________________ 
  1023.  
  1024. For the purposes of providing you updates, which is the most 
  1025. convienent for you (3.5" disc, 5.25" disc, DOS, MacIntosh, etc.)? 
  1026.  
  1027. __________________________________________________________________ 
  1028.  
  1029. __________________________________________________________________ 
  1030.  
  1031. Is a 32 kb - size library a limiting size for you?  ___ YES ___ NO  
  1032.  
  1033. What is the maximum memory card size which you have ?  ________ kb 
  1034.  
  1035. COMPLETE AND MAIL THIS FORM TO: 
  1036.  
  1037. VICTORIA DESIGNS 
  1038. 377 NATURE TRAIL LANE 
  1039. MURRYSVILLE, PA 15668 
  1040.